<script setup lang="ts">
const appId = 'cli_a8a0bd93db76d013'
const redirectUri = encodeURIComponent(`${import.meta.env.VITE_SERVE}/auth/FeiShu`)
const FeishuLogin = () => {
  window.location.href = `https://open.feishu.cn/open-apis/authen/v1/authorize?redirect_uri=${redirectUri}&app_id=${appId}&state=state123`
}
</script>
<template>
  <slot :FeishuLogin="FeishuLogin"></slot>
</template>
<style scoped lang="scss">
</style>